width = gtk_widget_get_allocated_width (widget);
height = gtk_widget_get_allocated_height (widget);
- cairo_save (cr);
-
- gtk_style_context_save (context);
-
gtk_render_background (context, cr, 0, 0, width, height);
if (swatch->priv->has_color)
g_object_unref (icon_info);
}
- cairo_restore (cr);
- gtk_style_context_restore (context);
-
if (gtk_widget_has_visible_focus (widget))
{
gtk_render_focus (context, cr, 0, 0, width, height);